package com.liang.service;


import com.liang.pojo.Armyandexcuse;
import java.util.Map;
import java.util.List;
/**
 *@作者:lsk
 *Service接口
 *@Date:2023/10/22
*/
public interface ArmyandexcuseService {

	/**
	根据Army_idAndExcuse_id查询
	*/
	public Object selectByArmy_idAndExcuse_id(Long army_id, Long excuse_id);

	/**
	根据Army_idAndExcuse_id更新
	*/
	public Integer updateByArmy_idAndExcuse_id(Armyandexcuse demo);

	/**
	根据Army_idAndExcuse_id删除
	*/
	public Integer deleteByArmy_idAndExcuse_id(Long army_id, Long excuse_id);



	/**
	 insert:(插入)
	*/
	public Object insert(Armyandexcuse demo);


	/**
	 insertOrUpdate(插入或更新(根据主键或唯一索引更新，主键和唯一索引不会改变))
	*/
	public Integer insertOrUpdate(Armyandexcuse demo);


	/**
	 insertBath:(批量插入)
	*/
	public Integer insertBatch(List<Armyandexcuse> list);


	/**
	 insertOrUpdateBatch:(批量插入或更新)
	*/
	public Integer insertOrUpdateBatch(List<Armyandexcuse> list);


	/**
	 selectList:(根据参数查询集合)
	*/
	public List<Armyandexcuse> selectList(Map<String, Object> param);


	/**
	 selectCount:(根据集合查询数量)
	*/
	public Long selectCount(Map<String, Object> param);
}